package com.skyline.wo.model;

import com.skyline.base.model.Resource;
import com.skyline.base.model.TokenValidatable;
import com.skyline.common.cache.Cachable;

//TODO:加注释
public class Category extends Resource implements TokenValidatable, Cachable {

	private static final long serialVersionUID = -7083858792503428539L;
	private String categoryName;
	private Integer articleNum;
	private String submitToken;

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Integer getArticleNum() {
		return articleNum;
	}

	public void setArticleNum(Integer articleNum) {
		this.articleNum = articleNum;
	}

	@Override
	public String getFkId() {
		return this.ownerId.toString();
	}

	@Override
	public String getSubmitToken() {
		return this.submitToken;
	}

	@Override
	public void setSubmitToken(String submitToken) {
		this.submitToken = submitToken;
		;
	}
}
